package com.ruoyi.play.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 点名对象 roll_call
 * 
 * @author ruoyi
 * @date 2025-09-07
 */
public class RollCall extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 点名ID */
    private Long id;

    /** 用户设置点名标题/类型 */
    @Excel(name = "用户设置点名标题/类型")
    private String type;

    /** 点名描述 */
    @Excel(name = "点名描述")
    private String description;

    /** 名字复数（JSON格式） */
    @Excel(name = "名字复数", readConverterExp = "J=SON格式")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private List<String> names;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setNames(List<String> names) {
        this.names = names;
    }

    public List<String> getNames() {
        return names;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("type", getType())
                .append("description", getDescription())
                .append("names", getNames())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
